﻿@using ECG.Utility
@model ECG.Common.ProductCategoryDto
@{
    ViewBag.Title = (string.IsNullOrEmpty(Model.MetaTitle) ? ViewBag.FullCateName : Model.MetaTitle) + ViewBag.strPage;
    ViewBag.Description = (string.IsNullOrEmpty(Model.MetaDescription) ? Model.Name : Model.MetaDescription) + ViewBag.strPage;
    ViewBag.keywords = (string.IsNullOrEmpty(Model.MetaKeyword) ? Model.Name : Model.MetaKeyword) + ViewBag.strPage;
    Layout = "~/Views/Shared/_LayoutHideCate.cshtml";
}
<!--Category-->
<div class="bb_cate_home">
    @Html.Action("DirectionCategory", "Category", new { categoryId = ViewBag.CategoryId })
    <div class="bb_cate_home_content">
        <div class="bb_cate_left">
            <div class="bb_cateListSub">
                @Html.Action("CategoryMenuLeft", "Category", new { categoryId = ViewBag.CategoryId })
            </div>
        </div>

        <div class="bb_cate_right">
            @Html.Action("ProductByCateL3", "CategoryL3", new { categoryName = StringUtil.RemoveSpecialCharactersVn(ViewBag.FullCateName), categoryId = ViewBag.CategoryId, page = ViewBag.Page })
        </div>
        <div class="clr"></div>
    </div>
    @*<div class="pp1-pbyCate">
        @Html.Action("GetParentCate", "Category", new { categoryId = ViewBag.CategoryId, depth = ViewBag.DepthCate })
    </div>*@
    @{
        if (!string.IsNullOrEmpty(ViewBag.CateContentFooter))
        {
        <div class="bb_p_m_catetxtFooter clearfix">
            <div class="cate-textfooter">
                <div class="textFooter-border">
                    <div style="padding: 10px;">@Html.Raw(ViewBag.CateContentFooter)</div>
                </div>
            </div>
            <div class="cate-advfooter">
                <img src="" width="210" height="336" alt="" />
            </div>
        </div>
        }
    }
</div>

<!--End Category-->
@section scripts
{
    @Scripts.Render("~/bundles/categoryProduct")
}
